package com.ys.fmms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ys.fmms.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {
    User queryUser(String password,String username);

    IPage<User> getUserListByPage(Page<User> page,String userName);

    void addOrModifyUser(User user, String userId);

    boolean checkCurrentUserPwd(String userId, String inputUserPwd);
}
